<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div class="platform-foot wow fadeInUp">
        <div class="foot-left">
            <div class="foot-title">{:L('foot_1')}</div>
            <a class="foot-btn" href="../contact.html">
                <span>{:L('foot_2')}</span>
                <i class="iconfont icon-arrowdown"></i>
            </a>
        </div>
        <div class="foot-right">{:L('foot_3')}</div>
    </div>
</body>
<script src="__PUBLIC__/asset/lib/wow/wow.min.js"></script>
<script src="__PUBLIC__/asset/lib/jquery_3.2.1.min.js"></script>
<script>
    $(document).ready(function () {
        let pathInfo = location.pathname == '/' ? null : location.pathname.match(/\/[a-zA-Z0-9]+/g)
        let nowType = pathInfo.length > 1 ? pathInfo[1] : ''
        if (nowType) {
            nowType = nowType.replace('/', '').replace('cloud', '').replace('.html', '')
            let pathKeys = {
                'aws': 'aws',
                'alibaba': 'ali',
                'google': 'google',
                'huawei': 'huawei',
                'tencent': 'tenxun',
                'azure': 'microsoft',
                'flare': 'safety'
            }
            console.log('nowType',nowType);
            $('.platform-foot').addClass(pathKeys[nowType])
        }
    })
</script>

</html>